import request from '@/utils/request'

// 职位添加
export function saveDoctorsPosition(query) {
  return request({
    url: '/com.mmk.reservation.api.AdminDoctorsPositionProvider/1.0.0/saveDoctorsPosition.html',
    method: 'post',
    data: query
  })
}
// 职位列表
export function findDoctorsPositionList(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminDoctorsPositionProvider/1.0.0/findDoctorsPositionList.html',
      method: 'post',
      data: query
    })
}
// 状态修改
export function updateDoctorsPosition(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminDoctorsPositionProvider/1.0.0/updateDoctorsPosition.html',
      method: 'post',
      data: query
    })
}
//删除职位
export function deleteDoctorsPositionById(query) {
    return request({
      url: '/com.mmk.reservation.api.AdminDoctorsPositionProvider/1.0.0/deleteDoctorsPositionById.html',
      method: 'post',
      data: query
    })
}